package com.xisoft.devise.service;

import java.io.IOException;
import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * *
 * Created with Description:
 *
 * @version 1.0 <br>
 * @packagename: com.xisoft.devise.service<br>
 * @author: LiBencheng <br>
 * @computer: licheng <br>
 * @date: Created on 2022/8/25 18:25 <br>
 */
public interface IMetadataService
{
    /************************************************************* <br>
     *
     *说明: <br>
     *
     * @Description   <br>
     * @Date Created on 2022/9/27  13:40  <br>
     * @param json <br>
     * @return java.lang.String  <br>
     * @Author LIBENCHENG
     * @version 1.0 <br>
     ************************************************************* <br>
     */
    String savaSysDataCode(String json) throws Exception;

    String savaScript(String json) throws Exception;

    Collection getMetadataInfo( );

    Map< String,Object > getSysTableByCode(String tableCode) throws Exception;

    Map< String,Object > getSysTabByTable(String tableCode) throws Exception;

    List< Map< String,Object > > getSysTable(String tableCode);

    List< Map< String,Object > > getSysTableField(String tablename);
}
